package com.bank.model.enums;

import lombok.Getter;

/**
 * @author Cejay1314
 * @version 1.0
 * @create 2023/3/24 14:17
 */

@Getter
public enum RoleEnum {

    SuperAdmin(1,"SuperAdmin"),
    Manager(2, "Manager"),
    Counter(3,"Counter"),
    User(4,"User")

    ;
    private Integer code;
    private String message;

    private RoleEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
